/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package service.publics;

import java.util.List;
import java.util.Map;
import model.publics.Supplier;
import utility.NameValueList;

/**
 *
 * @author jay
 */

public interface SupplierService {
    boolean save(Supplier supplier);
    boolean delete(Supplier supplier);
    Supplier getSupplier(int id);
    Supplier getSupplier(String kode);
    List<Supplier> getAll(int start, int num, String params, String orderBy);
    List<Supplier> getAll(int start, int num, Map<NameValueList, Object> params);
}
